/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.devmng.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.devmng.entity.CommonAtta;
import com.thinkgem.jeesite.modules.devmng.dao.CommonAttaDao;

/**
 * 通用附件Service
 * @author panda
 * @version 2017-12-08
 */
@Service
@Transactional(readOnly = true)
public class CommonAttaService extends CrudService<CommonAttaDao, CommonAtta> {

	public CommonAtta get(String id) {
		return super.get(id);
	}
	
	public List<CommonAtta> findList(CommonAtta commonAtta) {
		return super.findList(commonAtta);
	}
	
	public Page<CommonAtta> findPage(Page<CommonAtta> page, CommonAtta commonAtta) {
		return super.findPage(page, commonAtta);
	}
	
	@Transactional(readOnly = false)
	public void save(CommonAtta commonAtta) {
		super.save(commonAtta);
	}
	
	@Transactional(readOnly = false)
	public void delete(CommonAtta commonAtta) {
		super.delete(commonAtta);
	}
	
}